//
//  ConnectorLayoutViewController.h
//  CocoaSynth
//
//  Created by Thomas Dupont on 19/02/10.
//  Copyright 2010 Apple Inc. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@class PortInViewController;
@class PortOutViewController;
@class PortViewController;

@interface ConnectorLayoutViewController : NSViewController {
	NSMutableDictionary* portsByModule;
	NSMutableSet* connectors;
	PortInViewController* selectedPortIn;
	PortOutViewController* selectedPortOut;
}

- (void)selectPortIn:(PortInViewController*)aPort;
- (void)selectPortOut:(PortOutViewController*)aPort;
- (void)unselectPorts;
- (void)refresh;
- (void)disconnectPort:(PortViewController*)aPort;

@end
